import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui'; //ElementUI
import 'element-ui/lib/theme-chalk/index.css';
Vue.config.productionTip = false
Vue.use(ElementUI);

import filter from './utils/filter' //全局过滤器
Object.keys(filter).forEach(key => Vue.filter(key, filter[key]))

import '@/style/index.scss'//全局样式

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
